package com.sam.security.events
{
	import flash.events.Event;

	import com.sam.security.model.vo.User;

	public class UserEvent extends Event
	{

		public static const USER_LOGIN_SUCESS:String='user_login_success';
		public static const USER_LOGUOT:String='user_logout';
		public static const ADD_USER:String='add_user';
		public var user:User;

		public function UserEvent(pType:String, pUser:User=null)
		{

			user=pUser;
			super(pType);

		}

		override public function clone():Event
		{

			return new UserEvent(type, user);

		}


	}

}